import MemberRoute from '@/views/Member/route'
import AcademyRoute from "@/views/Academy/route"
import StudentRoute from "@/views/Studens/route"
import ScoreRoute from "@/views/Score/route"




export default [{
    path: '/main',
    name: "main",
    component: () =>
        import ('./main.vue'),
    redirect: "/main/home",
    children: [{
            path: "/main/home",
            name: 'home',
            component: () =>
                import ('@/views/Home/Home.vue')
        },
        {
            path: '/main/performance',
            name: 'performance',
            component: () =>
                import ('@/views/Performance/Performance.vue')
        },
        {
            path: '/main/userInfo',
            name: 'userInfo',
            component: () =>
                import ('@/views/UserInfo/UserInfo.vue')
        }, {
            path: '/main/mine',
            name: 'mine',
            component: () =>
                import ('@/views/Mine/mine.vue')
        },

        ...MemberRoute,
        ...AcademyRoute,
        ...StudentRoute,
        ...ScoreRoute
    ]
}]